package com.aaa.sso.service;

import com.aaa.common.util.Result;

/**
 * fileName:MemberAuthService
 * description:
 * author: znb
 * createTime:2020/12/7 0007 09:45
 * version:1.0.0
 */
public interface AuthService {

    /**
     * 会员验证功能
     * @param userName
     * @param passWord
     * @return
     */
     Result authMemberOrUser(String userName,String passWord);

    /**
     * 验证Token
     * @param accessToken
     * @return
     */
    boolean checkAccessToken(String accessToken);
}
